package com.ict.web.vo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ict.web.domain.Performance;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 绩效列表
 *
 * @author ruoyi
 * @date 2022-02-17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PerformanceListVo {
    @ApiModelProperty(value = "绩效Id")
    @TableId(type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long perId;

    @ApiModelProperty(value = "适用范围:{0未考评项目1全部项目}")
    private String rangeApplication;

    @ApiModelProperty(value = "绩效状态:{0:使用中，1：未启用，2：停止使用}")
    private String preStatus;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "指标名字")
    private List<String> indicatorsName;
}
